﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class UserManagement_SwitchSheduleData : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            for (int i = 1; i < 7; i++)
            {
                ddlCourse.Items.Add(i.ToString());
            }
        }
    }

    protected void btnFormShedule_Click(object sender, EventArgs e)
    {
        Response.Redirect(String.Format("~/UserManagement/GeneralShedule.aspx?course={0}&specID={1}&groupID={2}",
            ddlCourse.SelectedValue.ToString(), ddlSpecialities.SelectedValue.ToString(), ddlGroup.SelectedValue.ToString()));
    }
}
